unit uCadCaixa;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, uCadPadrao, StdCtrls, Buttons, DB, Mask, DBCtrls;

type
  TfCadCaixa = class(TfCadastroPadrao)
    Label1: TLabel;
    DBEdit1: TDBEdit;
    DataSource1: TDataSource;
    procedure BitBtn1Click(Sender: TObject);
    procedure BitBtn2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fCadCaixa: TfCadCaixa;

implementation

uses uDm;

{$R *.dfm}

procedure TfCadCaixa.BitBtn1Click(Sender: TObject);
begin
  inherited;
  dm.qryCaixa.Post;
  close;
end;

procedure TfCadCaixa.BitBtn2Click(Sender: TObject);
begin
  inherited;
  dm.qryCaixa.Cancel;
  close;
end;

end.
